import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

# 生成日时间序列
dd = pd.date_range('2010-01-01', freq='D', periods=1000)
print(f'生成日时间序列：\n{dd}')

# df_stock = pd.DataFrame({'close': stock_data, 'price range': pct_change}, index=dd)